﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Update.WCF
{
    /// <summary>
    /// 检查版本信息的结果
    /// </summary>
    public class CheckResult
    {
        /// <summary>
        /// 最新版本
        /// </summary>
        public string LatestVersion { get; set; }
        /// <summary>
        /// 是否需要更新
        /// </summary>
        public bool IsNeedUpdate { get; set; }

        /// <summary>
        /// 是否是必须要升级
        /// </summary>
        public bool IsNecessary { get; set; }

        /// <summary>
        /// 含有完整包
        /// </summary>
        public bool HasFullPatch { get; set; }

        /// <summary>
        /// 含有增量包
        /// </summary>
        public bool HasIncrementalPatch { get; set; }
    }
}
